<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>cool-scroll</title>
    <link rel="stylesheet" href="./css/index.css"/>
    <script src="./src/cool-scroll.js"></script>
</head>
<body>

<header>
<h3>cool-scroll demo</h3>
</header>

<main>
    <div class="banner">

    </div>
    <session>
        <div class="text-box left">
            <p>一段描述文字</p>
        </div>
        <div class="author fr">
            <p>作者</p>
        </div>
        <div class="img-box">
            <img src="./img/session1.jpg" alt="" cool-scroll-start="20" cool-scroll-end="80"/>
        </div>
    </session>
    <session>
        <div class="text-box right">
            <p>一段描述文字</p>
        </div>
        <div class="author fl">
            <p>作者</p>
        </div>
        <div class="img-box">
            <img src="./img/session2.jpg" alt=""/>
        </div>
    </session>
    <session>
        <div class="text-box left">
            <p>一段描述文字</p>
        </div>
        <div class="author fr">
            <p>作者</p>
        </div>
        <div class="img-box">
            <img src="./img/session3.jpg" alt=""/>
        </div>
    </session>
</main>

<footer>
<p>footer</p>
</footer>

<script>
    var CoolScroll = new CoolScroll;
    CoolScroll.init();
</script>
</body>
</html>